﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace _1._5
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        
        private void Form1_Load(object sender, EventArgs e)
        {
           
            this.Icon = new Icon("C:\\Users\\ljy15\\Desktop\\ 作业 \\1.5\\bin\\Debug\\sy1 素材.rar\\sy1 素材.rar\\sy1 素材\\music.ico\r\n");
         
            pictureBox1.Image = Image.FromFile("C:\\Users\\ljy15\\Desktop\\ 作业 \\1.5\\bin\\Debug\\sy1 素材.rar\\sy1 素材\\Red moon desert.jpg\r\n");
         
            label1.Visible = false;
        }

      
        private void Form1_Click(object sender, EventArgs e)
        {
            pictureBox1.Image = Image.FromFile("C:\\Users\\ljy15\\Desktop\\ 作业 \\1.5\\bin\\Debug\\sy1 素材.rar\\sy1 素材\\Azul.jpg\r\n");

            
            label1.Visible = false;
        }

     
        private void Form1_DoubleClick(object sender, EventArgs e)
        {
          
            pictureBox1.Image = Image.FromFile("C:\\Users\\ljy15\\Desktop\\ 作业 \\1.5\\bin\\Debug\\sy1 素材.rar\\sy1 素材\\Moon flower.jpg\r\n");
           
            label1.Visible = true;
        }
    }
}